package com.hualan.dao;


import com.hualan.bean.PanghuShop;

import java.awt.print.Book;
import java.util.List;

public interface MenDianDao {
    //根据分页信息查看页面
    List<PanghuShop> queryMenDianWithPage(int page, int size);

    //添加门店信息
    int addMenDian(PanghuShop panghuShop);

    //修改门店信息
    int updateMenDian(PanghuShop panghuShop);
    //查看数据的总条数
     Long selectMenDinCount();
     //根据条件查询语句
    List<PanghuShop> queryCondition(String name, String phone, String startTime, String endTime, Integer pageSize, Integer pageNum);
}
